﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace DBMS.Models
{
    public class RelationshipViewModel
    {
        public Column PrimaryColumn { get; set; }

        public Column ForeignColumn { get; set; }

        public Table PrimaryTable { get; set; }

        public Table ForeignTable { get; set; }

        public SelectList Tables { get; set; }

        public Database Database { get; set; }

        public IList<Relationship> Relationships { get; set; }

        public RelationshipViewModel()
        {

        }
    }
}